home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
raytrace
/
rayshade
/
ryshd40n.lha
/
Examples
/
cork.ray
< prev
next >
Wrap
Text File
|
1992-10-04
|
3KB
|
172 lines
# 1 "cork_screw.ray"
screen 320 400
eyep -3 -33 6
lookp .2 .2 3
background 0 0 1
fov 45 34
sample 3
maxdepth 3
light 1 1 1 point 500 -500 500
surface this_red
ambient .5 0 0
diffuse 1 0 0
surface red
ambient .1 0 0
diffuse 1 0 0
surface black
ambient 0 0 0
diffuse 0 0 0
surface brown diffuse 0.3147 0.0794 0.0118 ambient 0.1049 0.0265 0.0039
surface neon_blue
ambient 0.0329 0.4621 0.5125
diffuse .5 .5 .5
specular .3 .3 .3
specpow 67
surface hot_pink
ambient 1.000 0.461 0.461
diffuse .4 .4 .4
specular .3 .3 .3
specpow 85
surface hot_green
ambient 0.442 1.000 0.309
diffuse .4 .4 .4
specular .3 .3 .3
specpow 70
surface handle
ambient 0 0 0
diffuse .1 .1 .1
specular .5 .5 .5
specpow 50
surface st_steel
ambient .1 .1 .1
diffuse .3 .3 .3
specular 1 1 1
specpow 300
reflect 1
surface tan
ambient 0.305 0.255 0.12
diffuse 0.709 0.509 0.236
plane red 0 0 -7.1 0 0 1
texture checker black
scale 10 10 10
name cscrew list
sweptsph handle bezier -10 0 0 -7 0 0 7 0 0 10 0 0
1 6 -6 0
scale 1.8 1.8 1.8
translate 0 0 (11*2.7 )
cylinder st_steel .7 0 0 (11*2.7 ) 0 0 (8*2.7 )
sweptsph st_steel
xbezier 0 0 (-2 ) (-2 )
ybezier 0 0 (-2 *1.31 ) 0
zcoeffs (8*2.7 ) (-2.7 ) 0 0
.7 0 0 0
list
sweptsph st_steel
xbezier 2 2 -2 -2
ybezier 0 (2 *1.31 ) (2 *1.31 ) 0
zcoeffs 0 2.7 0 0
.7 0 0 0
sweptsph st_steel
xbezier -2 -2 2 2
ybezier 0 (-2 *1.31 ) (-2 *1.31 ) 0
zcoeffs 2.7 2.7 0 0
.7 0 0 0
sweptsph st_steel
xbezier 2 2 -2 -2
ybezier 0 (2 *1.31 ) (2 *1.31 ) 0
zcoeffs (2*2.7 ) 2.7 0 0
.7 0 0 0
sweptsph st_steel
xbezier -2 -2 2 2
ybezier 0 (-2 *1.31 ) (-2 *1.31 ) 0
zcoeffs (3*2.7 ) 2.7 0 0
.7 0 0 0
sweptsph st_steel
xbezier 2 2 -2 -2
ybezier 0 (2 *1.31 ) (2 *1.31 ) 0
zcoeffs (4*2.7 ) 2.7 0 0
.7 0 0 0
sweptsph st_steel
xbezier -2 -2 2 2
ybezier 0 (-2 *1.31 ) (-2 *1.31 ) 0
zcoeffs (5*2.7 ) 2.7 0 0
.7 0 0 0
sweptsph st_steel
xbezier 2 2 -2 -2
ybezier 0 (2 *1.31 ) (2 *1.31 ) 0
zcoeffs (6*2.7 ) 2.7 0 0
.7 0 0 0
end
sweptsph st_steel
xbezier 2 2 (2 *1.31 /2) 0
ybezier 0 (-2 *1.31 /2) -2 -2
zcoeffs 0 (-0.5*2.7 ) 0 0
.7 -.7 0 0
end
scale .3 .3 .3
object cscrew rotate .4 .4 1 45
name cork list
cone tan
2.3 0 0 0
1.8 0 0 -5
disc tan 2.3 0 0 0 0 0 1
disc tan 1.8 0 0 -5 0 0 -1
end
texture bump 1
scale .2 .2 .2
texture blotch -.5 brown
scale .2 .2 .2
texture blotch -.5 brown
scale .2 .2 .2
texture blotch -.2 black
scale .2 .2 .2
texture blotch -.2 black
scale .2 .2 .2
object cork
translate 0 0 -2
rotate .4 .4 1 45